<?php

namespace Core;

class Application {
	
	public $template;
	
	public function __construct()
	{
		$this->init();
	}
	
	protected function init()
	{
		if(isset($this->template) && ! empty($this->template))
		{
			$this->template = \Core\View::factory($this->template);
			
			$this->template->auto = TRUE;
		}
	}
	
	public function before(){}
	
	public function after(){}
	
}